tools/hotplug: Fix proxy arp messing about to use correct device
authorMichael Young <m.a.young@durham.ac.uk>
Tue, 1 Feb 2011 19:16:28 +0000 (19:16 +0000)
committerMichael Young <m.a.young@durham.ac.uk>
Tue, 1 Feb 2011 19:16:28 +0000 (19:16 +0000)
commit6fddee89c1c672edc32df58a1d1a697ba9c805f9
tree3b238f60fa6d45a9502c43354d2e87e3c8d743e0
parent4bf774a903153931e98afbe009f1acb54af85d7a
tools/hotplug: Fix proxy arp messing about to use correct device

Fix an anomaly in /etc/xen/scripts/network-route.

Currently this script contains
  netdev=${netdev:-eth${vifnum}}
ie. netdev is set to eth${vifnum} by default. Unfortunately vifnum
is not set anywhere in the xen code so the default is actually the
broken "eth".  And anyway the vif number (which is what vifnum ought
to be) is not relevant.

The patch changes the default to eth0 (which is what the comment at
the top of the file says it should be).

Signed-off-by: Michael Young <m.a.young@durham.ac.uk>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/hotplug/Linux/network-route